-- GENERATED SPELL FOR [Anubisath Sentinel] --


function spell0_15264(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_15264', 576, 1)
end

function Sorts_15264(pUnit, Event)
local choix_sorts_15264 = math.random(0, 0)
if choix_sorts_15264 == 0 then
pUnit:RegisterEvent('spell0_15264', 1, 1)
end
end

function mob15264_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15264', math.random(1500, 3000), 1)
end

function mob15264_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15264_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15264_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15264, 1, 'mob15264_Action')
RegisterUnitEvent(15264, 2, 'mob15264_Leave')
RegisterUnitEvent(15264, 3, 'mob15264_Kill')
RegisterUnitEvent(15264, 4, 'mob15264_Die')
